package com.ujoku.request;


import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Pattern;

/**
 * Created by Greg on 2014/10/20.
 */
public class CheckSecurityCodeForm {

    @NotEmpty(message = "安全码不能为空.")
    @Pattern(regexp = "^[A-Za-z0-9]{4}$", message = "请输入4位有效安全码!")
    private String security_code;

    public String getSecurity_code() {
        return security_code;
    }

    public void setSecurity_code(String security_code) {
        this.security_code = security_code;
    }
}
